<HTML><HEAD><TITLE>sumlist(+List, ?Sum)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(ic_global)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>sumlist(+List, ?Sum)</H1>
The sum of the list elements is Sum
<DL>
<DT><EM>List</EM></DT>
<DD>List of integers or domain variables
</DD>
<DT><EM>Sum</EM></DT>
<DD>Variable or integer
</DD>
</DL>
<H2>Description</H2>
<P>    	  The sum of the list elements is Sum.  This constraint is
	  more efficient than the general arithmetic constraint if
	  the list is long and Sum is not constrained frequently.
	  </P><P>
	  Any input variables which do not already have finite bounds will
	  be given default bounds of -10000000 to 10000000.</P>
<H2>See Also</H2>
<A HREF="../../lib/ic_global/ordered-2.html">ordered / 2</A>, <A HREF="../../lib/ic_global/ordered_sum-2.html">ordered_sum / 2</A>, <A HREF="../../lib/suspend/HE-2.html">suspend : #= / 2</A>, <A HREF="../../lib/fd/HE-2.html">fd : #= / 2</A>, <A HREF="../../lib/ic/HE-2.html">ic : #= / 2</A>
</BODY></HTML>
